<style>
.ainuo_bbs2{}
.ainuo_bbs2 .asub_forumlist li{ width:100%;border-bottom:1px solid #eee; display:block; position:relative;}
.ainuo_bbs2 .asub_forumlist li:last-child{ border:none;}
.ainuo_bbs2 .asub_forumlist li a{padding:15px 10px; display:block; overflow:hidden;}
.ainuo_bbs2 .asub_forumlist li a img{ width:50px; height:50px; border-radius:2px;}
.ainuo_bbs2 .asub_forumlist li h2 { display:block;font-weight:400; font-size:16px; position:absolute; left:75px; top:17px; color:#222;height:20px; max-width:119px; overflow:hidden;}
.ainuo_bbs2 .asub_forumlist li p { position:absolute; padding-right:10px; left:75px; top:46px; height:18px; line-height:18px; overflow:hidden; color:#888; font-size:12px;}
.ainuo_bbs2 .asub_forumlist li h2 .orange{color:#fff;font-size:10px; background:#ff6600; line-height:10px; padding:0 5px;border-radius:20px; position:relative; top:-1px;}
.ainuo_bbs2 .asub_forumlist li em{ top:18px;font-size:12px; position:absolute; right:15px; color:#999; font-size:10px;}
.ainuo_bbs2 .bm_atit { height:42px; line-height: 42px; white-space: nowrap; overflow: hidden; border-bottom:1px solid #eee;background:#fff;}
.ainuo_bbs2 .bm_atit h2 a { display:block; padding-left:10px; font-weight:400; font-size:14px; color:#666;}
.ainuo_bbs2 .bbs_bm{ background:#fff; border-bottom:1px solid #eee;border-top:1px solid #eee;}
</style>

<div class="ainuo_bbs2 cl">
	<!--{loop $catlist $key $cat}-->
    <div class="grey_line cl"></div>
	<div class="cl bbs_bm">
		<div class="bm_atit cl" href="#sub_forum_$cat[fid]">
		<h2><a href="{if !empty($caturl)}$caturl{else}forum.php?forumlist=1&gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
		</div>
        <div id="sub_forum_$cat[fid]" class="asub_forumlist cl">
			<ul>
				<!--{loop $cat[forums] $forumid}-->
				<!--{eval $forum=$forumlist[$forumid];}-->
				<li onClick="window.location.href='forum.php?mod=forumdisplay&fid={$forum['fid']}';">
                	<!--{if $forum[icon]}-->
						$forum[icon]
                    <!--{else}-->
                        <a href="forum.php?mod=forumdisplay&fid={$forum['fid']}"><img src="template/qu_app/touch/style/css/0.png" alt="$forum[name]" /></a>
                    <!--{/if}-->
                    <!--{if $forum[description]}-->
                    	<h2 {if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>
                        	{$forum[name]}
                            <!--{if $forum[todayposts] > 0}--><span class="num orange">$forum[todayposts]</span><!--{/if}-->
                        </h2>
                        <em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}-->&nbsp;&nbsp;{lang thread}: <!--{echo dnumber($forum[posts])}--></em>
                       	<p>$forum[description]</p>
                     <!--{else}-->
                     	<h2>
                        	{$forum[name]}
                            <!--{if $forum[todayposts] > 0}--><span class="num orange">$forum[todayposts]</span><!--{/if}-->
                        </h2>
                        <p>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--> , {lang thread}: <!--{echo dnumber($forum[posts])}--></p>
                     <!--{/if}-->   
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!--{/loop}-->
</div>

<!--{hook/index_middle_mobile}-->

<!--{template common/footer}-->